]> dgit.raspbian.org Git - kf6-kio.git/commit
[PATCH] WidgetsAskUserActionHandler: show the SSL error dialog on the GUI thread
authorShouvik Kar <auxcorelabs@gmail.com>
Fri, 17 Jul 2026 18:17:04 +0000 (18:17 +0000)
committerAurélien COUDERC <coucouf@debian.org>
Sun, 26 Jul 2026 21:35:19 +0000 (23:35 +0200)
commit63563ab8cd13bf65383a7ad45ac398e790aae9fa
tree20cd218a43d0427f49eefff3cd6c6acde7354adf
parent7f9617a2fbe93e47eb9b65c7a657647bf5072551
[PATCH] WidgetsAskUserActionHandler: show the SSL error dialog on the GUI thread

askIgnoreSslErrors() can be called from a non-GUI thread (e.g. the weather
ion runs its KIO jobs on a worker thread), where it constructed the
KMessageDialog off the GUI thread and crashed while painting it.

Marshal the dialog onto the GUI thread with QMetaObject::invokeMethod(qGuiApp,
...), like every other handler in this class already does.

BUG: 519614

Gbp-Pq: Name upstream_dd40b4c0_WidgetsAskUserActionHandler-show-the-SSL-error-dialog-on-the-GUI-thread.patch
src/widgets/widgetsaskuseractionhandler.cpp